<!--
 * @description: 
 * @Date: 2022-10-05 13:34:40
 * @LastEditTime: 2022-12-04 15:16:24
-->
<template>
  <el-config-provider :locale="zhCn">
    <router-view v-slot="{ Component }">
      <keep-alive :include="['Index']">
        <component :is="Component"></component>
      </keep-alive>
    </router-view>
  </el-config-provider>
</template>
<script setup>
import { defineAsyncComponent } from "vue";
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import { ElConfigProvider } from "element-plus";
import { useStore } from "vuex";
const store = useStore();
store.commit("pullSiteConfig");
</script>
<style lang="less">
/*滚动条美化 webkit内核*/
*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

*::-webkit-scrollbar-track {
  /*background-color: #F1F1F1;*/
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

*::-webkit-scrollbar-thumb {
  background-color: #6b7280;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
</style>
